<link href="./css/style.css" rel="stylesheet" type="text/css" />
<div class="main">
<div class="cashlist">
	<p class="tt"><a>首页</a>><a>财务管理</a>><span>分红记录</span></p>
	<div class="div">
		<form method='GET' action="?" class='search' >		
			<p><span>开始时间</span><input type='date' name='stime' value="{$stime}" /></p>		
			<p><span>结束时间</span><input type='date' name='etime' value="{$etime}" /></p>		
			<p><input type='submit' value='立即搜索' /></p>	
		</form>
	</div>	
	<div class="list">
	{if($msg==0)}
	<p class='none'>未查询到资料</p>
	{else}
		<table>
		<tr class="after"><th>ID</th><th>时间</th><th>{$tdarr1[6]}分红</th><th>分红金额</th><th>{$tdarr1[7]}分红</th><th>分红金额</th></tr>
	{loop $clist $key as $list}
	<tr class="remove">
		<td>{$list[Id]}</td>
		<td>{$list[addtime]}</td>
		<td>{$list[num1]}</td>
		<td>{$list[jjcash1]}</td>	
		<td>{$list[num2]}</td>
		<td>{$list[jjcash2]}</td>	
	</tr>
	{/loop}
	</table>
	{$page}
	{/if}
	<script src="./js/jquery.js"></script>

	<script>
		h1 = $(".main").height();
		h2 = $(".cashlist").height();
		if(h2>h1){
			$(".main").css("height","auto");
		}
		$('tr').click(function(){	
			$('tr').removeClass('onactive');
			$(this).addClass('onactive');
		});
	</script>
	</div>
</div>
</div>